{extend name="shop/default/base" /}
{block name="resources"}
<link type="text/css" rel="stylesheet" href="__TEMP__/{$style}/public/css/payment_orders/payment_orders.css" />
<link type="text/css" rel="stylesheet" href="__TEMP__/{$style}/public/css/payment_orders/payment_orders_common.css" />
<style>
.result-box .yue{margin-top:20px;margin-left:20px;position:relative}
.result-box .yue input[type=text]{width:100px;height:28px;border:1px solid #ddd;margin-left:10px;padding:0 10px;display:none}
.remark input[type=text]{width:280px;height:28px;border:1px solid #ddd;margin-left:10px;padding:0 10px}
.goods-info-top{padding:15px 20px;border-bottom:1px solid #e4e4e4;border-top:1px solid #e4e4e4;background-color:#DAF0FE}
.goods-info-top:first-child{border-top:none}
.good-info-bottom{border-top:1px solid #e4e4e4}
.good-info-bottom ul{width:100%}
.good-info-bottom ul li{width:100%}
.good-info-bottom ul li span{display:inline-block;height:35px;line-height:35px}
.good-info-bottom ul li span:first-child{width:75%;text-align:right}
.good-info-bottom ul li span:last-child{width:20%;text-align:right}
.good-info-shop-remark{padding:15px 15px;border-top:1px solid #e4e4e4}
.shop-express-company{padding:15px 15px;border-top:1px solid #e4e4e4}
body{background-color:#FFF}
.cart-box{background-color:#FFF}
.shop-goods-box{background-color:#FFF}
.shop-goods-box-left{display:table-cell;width:400px;background:#f7f7f7}
.shop-goods-box-right{display:table-cell;width:700px;background-color:#f3fbfe}
.shop-goods-box{overflow:hidden;margin-bottom:20px}
.zhifu-box ul{margin:0}
.shop-goods-box-left .zhifu-box ul li{margin-left:0;background-color:#FFF}
.shop-goods-box-left .zhifu-box ul li:first-child{margin-right:15px}
.shop-goods-box-left .zhifu-box ul li:last-child{margin-left:15px}
.zhifu-box .item ul li a,.zhifu-box .zfb li a{width:109px;height:30px;line-height:27px}
.shop-goods-box-left .zhifu-box{background-color:transparent;border:none;margin-bottom:0}
.shop-goods-box-left .zhifu-box ul li{margin-bottom:0}
.coupon-bottom-box,.shipping-top-box{width:370px;margin:15px auto}
.shop-goods-list-style{width:670px;margin:15px auto}
.fanxian-span{display:inline-block;border:1px solid #7abd54;color:#7abd54;padding:2px 5px}
.manjian-span{display:inline-block;background:#e4393c;color:#fff;vertical-align:middle;padding:0 7px;height:18px;line-height:18px;margin-right:5px}
.shop-box-nav-title{height:40px;line-height:40px;font-size:15px;font-weight:700}
.shipping-top-box{border-bottom:1px solid #e5e5e5;padding-bottom:20px}
.shop-name-style{height:24px;font:12px/150% tahoma,arial,Microsoft YaHei,Hiragino Sans GB,"\u5b8b\u4f53",sans-serif;color:#666;font-weight:700}
.goods-list-box-top-coupon{overflow:hidden;margin:5px 0;color:#666}
.shop-goods-coupno-text{display:inline-block;padding:2px 0}
.shop-goods-data-img{float:left;width:80px;height:80px;border:1px solid #ddd;margin-right:10px;background-color:#fff}
.shop-goods-data-img img{height:80px;width:80px}
.goods-data-style{overflow:hidden;margin:5px 0;padding:10px 0;margin-bottom:10px;color:#666;border-bottom:2px solid #fff}
.goods-list-small-box .goods-data-style:last-child{border-bottom:none}
.shop-goods-list-info{float:left;width:570px}
.shop-list-data-name{float:left;width:49.8%;height:3em;line-height:1.5em;overflow:hidden;margin-bottom:10px}
.shop-list-data-price{float:right;width:48.8%;margin:0 0 5px}
.shop-goods-price{width:150px;text-align:right;font-family:verdana;color:#e4393c;display:inline-block;vertical-align:middle}
.shop-goods-num{display:inline-block;vertical-align:middle;width:120px;text-align:right}
.coupon-box-style{padding:20px 0}
.money-style{color:#e4393c;font-weight:700}
.good-info-bottom{border-top:2px solid #fff;color:#828282}
#invoice-title,#taxpayer-identification-number{height:30px;width:178px;line-height:30px;text-align:left}
.discount_money-style{color:#7abd54}


/* 单店样式 */
.result-box .yue{margin-top:20px;margin-left:20px;position:relative}
.result-box .yue input[type=text]{width:100px;height:28px;border:1px solid #ddd;margin-left:10px;padding:0 10px;display:none}
.edit-address ul li label{width:85px}
.delivery-time{padding:20px 0}
.delivery-time .item>span{font-weight:700;color:#ff4000;padding:0 10px;letter-spacing:1px}
.delivery-time .item>a{color:#0689e1;margin-right:5px}
.delivery-time .item>.delete-delivery-time{display:none}
.mask-layer-delivery-time{display:none;z-index:100000;position:fixed;top:50%;background:#fff;width:660px;outline:5px solid rgba(0,0,0,.1);left:50%;margin-left:-330px}
.mask-layer-delivery-time header{background:#f3f3f3;padding:10px;font-size:14px}
.mask-layer-delivery-time header>a{float:right;font-size:16px;line-height:17px}
.mask-layer-delivery-time ul{margin:0;padding:10px}
.mask-layer-delivery-time ul li{float:left;border:1px solid #ebebeb;height:43px;text-align:center;width:70px;line-height:20px;cursor:pointer;padding:5px 10px;margin:-1px 0 0 -1px;transition:all .3s}
.mask-layer-delivery-time ul li:hover{background:#dbf1ff;color:#0689e1;border-color:#dbf1ff}
.mask-layer-delivery-time ul li.selected{background:#0689e1;color:#fff;border-color:#0689e1}
.mask-layer-delivery-time ul li span.data{display:block}
.mask-layer-delivery-time footer{padding:10px;color:#999}
.mask-layer-delivery-time footer .operation{padding:15px 0 5px;text-align:right}
.mask-layer-delivery-time footer .operation .btn-cancle,.mask-layer-delivery-time footer .operation .btn-confirm{border:0;padding:5px 15px;cursor:pointer;transition:all .3s;height:20px;margin-left:5px}
.mask-layer-delivery-time footer .operation .btn-confirm{background:#0689e1;color:#fff}
.mask-layer-delivery-time footer .operation .btn-confirm:hover{background:#0D84D4}
.mask-layer-delivery-time footer .operation .btn-cancle{background:#ddd;color:#333}
.mask-layer-delivery-time footer .operation .btn-cancle:hover{background:#d2d2d2}
.account-number-info ul{border:1px solid #e0e0e0;background-color:#fff;padding:0 0 0}
.account-number-info ul li{padding:10px 20px}
.account-number-info ul li label{vertical-align:middle}
.account-number-info ul li input{width:100px;height:25px;border:1px solid #ddd;padding:0 10px;vertical-align:middle}
.account-number-info p.tip{padding:10px 0 0;color:#A9A9A9}
.full_money{width:300px;margin-right:0;float:left;text-align:right}
.grey_full_money{float:right;text-align:right;line-height:30px;margin-left:18px;cursor:pointer}
.grey_full_money label{cursor:pointer}
input[type=radio]{-webkit-appearance:none;background:url(__TEMP__/{$style}/public/images/nochecked.png);height:16px;vertical-align:middle;width:16px;background-size:100%;margin:3px}
input[type=radio]:checked{-webkit-appearance:none;background:url(__TEMP__/{$style}/public/images/checked.png);height:16px;vertical-align:middle;width:16px;background-size:100%;margin:3px}

</style>
{/block}
{block name="main"}
<form>
<div class="cart-box">
	<div class="nb">
		<div class="cart-step">
			<ul>
				<li class="cart1"><i></i>{:lang('goods_cart')}</li>
				<li class="cart2 oncart2"><i></i>{:lang('goods_confirm_order')}</li>
				<li class="cart3"><i></i>{:lang('goods_payment')}</li>
				<li class="cart4"><i></i>{:lang('goods_successful_payment')}</li>
			</ul>
		</div>
		<div class="add-deliver">
			<div class="cart-title">
				<h3>
					<span>{:lang('member_consignee')}</span>
				</h3>
			</div>
			
			<div class="sh-address js-shipping-address">
				<ul>
					{foreach name = "address_list" item = "info" key = "k"}
					<li class="other-add {if condition='$info.is_default==1'}default-add{/if}" data-id="{$info.id}" data-province-id="{$info.province}" data-city-id="{$info.city}">
						<div class="add-box">
							<span class="remove vivi-blue js-shipping-address-remove" data-id="{$info.id}">X</span>
							<div class="name-add">
								<span class="name">{$info.consigner}</span>
								<span class="add-rside"></span>
							</div>
							<div class="elli add-detail">
								<p title="{$info.address}">{$info.address_info} {$info.address}</p>
							</div>
							<div>
								<span class="moblie">{$info.mobile}</span>
								<a href="javascript:void(0);" class="chang-default change vivi-blue js-update-shipping-address" data-id="{$info.id}">{:lang('member_modify_address')}</a>
							</div>
						</div>
						<i class="icon-check"></i>
					</li>
					{/foreach}
					<li class="add-add">
						<div class="add-box add-box-center js-add-shipping-address">
							<a href="javascript:;"><i class="icon-add-add"></i>{:lang('member_add_new_address')}</a>
						</div>
					</li>
				</ul>
			</div>
		</div>
		
		<div class="style-zhifu">
			<div class="cart-title">
				<h3>
					<span>{:lang('member_payment_method')}</span>
				</h3>
			</div>
			
			<div class="zhifu-box">
				<ul class="zfb" id="paylist">
					<li>
						<i class="icon-check-zf" style="display:block;"></i>
						<a href="javascript:void(0);" data-select="0" class="selected">
							<span>{:lang('member_online_payment')}</span>
						</a>
					</li>
					<!-- 为了用户更好的体验和理解，只要开启货到付款就显示，不考虑商家配送、是否有物流公司等 -->
<!-- 					if condition="$shop_config.order_delivery_pay && $shop_config.seller_dispatching && count($express_company_list)" -->
					{if condition="$shop_config.order_delivery_pay"}
					<li>
						<i class="icon-check-zf"></i>
						<a href="javascript:void(0);" data-select="4">
							<span>{:lang('member_cash_on_delivery')}</span>
						</a>
					</li>
					{/if}
				</ul>
			</div>
		</div>
		<!-- 店铺商品新样式 -->
		<div class = "shop-goods-block">
			<!-- 店铺块级元素 -->
			{foreach name="shop_order_list.shop_goods_array" item="shop_item" key="key"}
				<div class="shop-goods-box" shop-id="{$shop_item.shop_id}">
					<!-- 商品总价 -->
					<input type="hidden" value="{$shop_item.goods_money}" class="goods_money"/>
					<!-- 优惠价格 -->
					<input type="hidden" value="{$shop_item.discount_money}" class="discount_money"/>
					<!-- 运费 -->
					<input type="hidden" value="0" class="express_money"/>
					<!-- 自提点运费 -->
					<input type="hidden" value="{$shop_item.pick_up_money}}" class="pick_up_money"/>
					<!-- 本地配送运费 -->
					<input type="hidden" value="{$shop_item.o2o_distribution}" class="o2o_distribution"/>
					<!-- 满额包邮金额 -->
					<input type="hidden" class="hidden_full_mail_money" value="{$shop_item.promotion_full_mail.full_mail_money}"/>
					<!-- 满额包邮是否开启 -->
					<input type="hidden" class="hidden_full_mail_is_open" value="{$shop_item.promotion_full_mail.is_open}"/>
					<!-- 陪送时间 -->
					<input type="hidden" class="hidden_shipping_time" value="0"/>
					<div class="shop-goods-box-left">
						<div class="shipping-top-box shipping_method">
							<h4 class="shop-box-nav-title">配送方式：</h4>
							<div class="zhifu-box shipping_method">
								<div class="item js-select">							
										{if condition="!$shop_config.seller_dispatching && !$shop_config.buyer_self_lifting"}
											<p class="label fl">{:lang('member_not_configure_distribution')}</p>
										{else/}
											<div class="label">
												<ul class="zfb">
													<!-- 为了用户更好的体验和理解，只要开启商家配送就显示，不考虑物流公司 -->
						<!-- 						if condition="$shop_config.seller_dispatching && count($express_company_list)" -->
													{if condition="$shop_config.seller_dispatching"}
													<li data-code="merchant_distribution"  shop-id = "{$shop_item.shop_id}" class="express-button">
														<i class="icon-check-zf"></i>
														<a href="javascript:void(0);">{:lang('member_merchant_distribution')}</a>
													</li>
													{/if}
													{if condition="$shop_config.buyer_self_lifting" }
													<li data-code="afhalen" shop-id = "{$shop_item.shop_id}" class="since-button">
														<i class="icon-check-zf"></i>
														<a href="javascript:void(0);">{:lang('member_stores_from_mentioning')}</a>
													</li>
													{/if}
													<!-- 本地配送 -->

												</ul>
											</div>
										{/if}
									</div>
								</div>
								<!-- 物流公司选择下拉框start -->
								{if condition="$shop_config.seller_dispatching"}
								<div class="select_express_company" >
									<div class="item">
										<span class="label">{:lang('member_logistics_company')}</span>
										<select class="express_company" shop-id = "{$shop_item.shop_id}"style="margin-left: 12px;padding: 0 10px;height: 25px;border: 1px solid #ddd;">
										{if condition="!empty($address)"}
											{if condition="empty($shop_item.express_company_list)"}
												<option value="-1" data-express-fee="0">{:lang('member_not_set_up')}</option>
											{elseif condition="!empty($shop_item.express_company_list)"}
												{foreach name="shop_item.express_company_list" item="company"}
												<option value="{$company.co_id}" data-express-fee="{$company.express_fee}">{$company.company_name}</option>
												{/foreach}
											{else/}
												<option value="-2" data-express-fee="0">{:lang('member_not_freight_template')}</option>
											{/if}
										{else/}
									 		<option value="-3" data-express-fee="0">{:lang('fill_or_select_consignee_information')}</option>
										{/if}
										</select>
									</div>
								</div>
								{/if}
								<!-- 配送时间 -->
								{if condition="$shop_config.order_designated_delivery_time"}
								<div class="delivery-time" style="display:none;margin-top:10px;">
									<div class="item">
										<label class="label">{:lang('delivery_time')}</label>
										<span data-default="{:lang('days_and_holidays_can_be_delivered')}">{:lang('days_and_holidays_can_be_delivered')}</span>
										<a href="javascript:;" class="update-delivery-time" shop-id="{$shop_item.shop_id}">{:lang('modify')}</a>
										<a href="javascript:;" class="delete-delivery-time" shop-id="{$shop_item.shop_id}">{:lang('delete')}</a>
									</div>
									<div class="mask-layer-delivery-time">
										<header>
											<span>{:lang('specify_delivery_time')}</span>
											<a href='javascript:;' >x</a>
										</header>
										<ul></ul>
										<footer>
											<span>温馨提示：</span>
											<p>1、您选择的时间可能会因库存不足等因素导致订单延迟，请您谅解！</p>
											<p>2、我们会在您选定提货日期的前一天处理您的订单，在此之前您的订单处于暂停状态。</p>
											<div class="operation">
												<button class="btn-confirm"  shop-id="{$shop_item.shop_id}">确定</button>
												<button class="btn-cancle" shop-id="{$shop_item.shop_id}">取消</button>
											</div>
										</footer>
									</div>
								</div>
								{/if}
								<!-- 自提点选择下拉框end -->
								{if condition="$shop_config.buyer_self_lifting"}
								<div class="js-pickup-point-list item" style="margin:0;line-height: 50px;height: 50px;display:none;" data-count="{$pickup_point_list.total_count}">
									{if condition="$shop_item.pickup_point_list.total_count"}
									<span class="label fl">{:lang('member_select_own_address')}：</span>
									<div class="fl">
										<ul class="zfb" style="margin: 0 10px 0 0;">
											<li style="margin:0;">
												<select shop-id = "{$shop_item.shop_id}" style="padding: 0 10px;height: 25px;border:1px solid #ddd;" class="pickup_address">
													{foreach name="$shop_item.pickup_point_list.data" item="pickup"}
													<option value="{$pickup.id}">{$pickup.province_name}&nbsp;{$pickup.city_name}&nbsp;{$pickup.dictrict_name}&nbsp;{$pickup.address}</option>
													{/foreach}
												</select>
											</li>
										</ul>
									</div>
									{else/}
									<p class="label fl">{:lang('member_not_configured')}</p>
									{/if}
								</div>
								{/if}
					
								
						</div>
						<div class="coupon-bottom-box" style="border-bottom: 1px solid #e5e5e5;">
							<h3 class="shop-box-nav-title">优惠活动：</h3>
							<div class="coupon-top-box">
								<div class="style-zhifu order-invoice">
									<div class="coupon-box-style">
									{if condition="!empty($shop_item.coupon_list)"}
									<div class="zhifu-box">		
										{if condition="!empty($shop_item.coupon_list)"}
										<div >
											<span>{:lang('member_coupons')}&nbsp;&nbsp;&nbsp;&nbsp;</span>
											<select style="margin-left: 12px;padding: 0 10px;height: 25px;border:1px solid #ddd;" class="coupon" shop-id = "{$shop_item.shop_id}">
												<option value="0">{:lang('member_no_coupons')}</option>
												{foreach name="$shop_item.coupon_list" item="coupon"}
													<option data-money="{$coupon['money']}" value="{$coupon['coupon_id']}">{:lang('member_full')}{$coupon['at_least']}{:lang('member_reduce')}{$coupon['money']}{:lang('element')}&nbsp;-&nbsp;{$coupon['coupon_name']}</option>
												{/foreach}
											</select>
										</div>
										{/if}
									</div>
									{else/}
										没有优惠活动
									{/if}
									</div>
								</div>
							</div>
						</div>
						<div class="coupon-bottom-box">
							<h3 class="shop-box-nav-title">买家留言：</h3>
							<div class="coupon-top-box">
								<div class="style-zhifu order-invoice">
									<div class="coupon-box-style remark">
									买家留言<input type="text" class="shop_reamrk" value=""/>
									</div>
								</div>
							</div>
						</div>
					</div>
					<div class="shop-goods-box-right">
					<!-- 店铺下的商品列表 -->
						<div class = "shop-goods-list-style">
							<div>
								<h3 class="shop-name-style">商家：{$shop_item.shop_name}</h3>
								<div class="shop-goods-list-table">
									<div>
										<div class="goods-list-small-box">
											{if  condition="$shop_item.discount_money > 0"}
											<div class="goods-list-box-top-coupon">
												<span class="manjian-span">满减</span>
												<strong class="shop-goods-coupno-text">活动商品已购满活动金额，已减<em class="discount_money-style">{$shop_item.discount_money}</em>元现金</strong>
												<!-- <span class="fanxian-span">&nbsp;返现&nbsp;：<em>30元</em></span> -->
											</div>
											{/if}
											{foreach name="shop_item.sku_list_array" item="cart_info" key="k"}
												<div class="goods-data-style">
													<div class="shop-goods-data-img">
													
														<a href="{:__URL('SHOP_MAIN/goods/goodsinfo','goodsid='.$cart_info['goods_id'])}" target="_blank" title="{$cart_info.goods_name}">
															<img src="{:__IMG($default_goods_img)}"  data-original="{:__IMG($cart_info['picture_info']['pic_cover_small'])}" class="lazy_load">
														</a>
													</div>
													<div class="shop-goods-list-info">
														<div class="shop-list-data-name">
															<a href="{:__URL('SHOP_MAIN/goods/goodsinfo','goodsid='.$cart_info['goods_id'])}" target="_blank" title="{$cart_info.goods_name}">
																 {$cart_info.goods_name}
															 </a>
														</div>
														<div class="shop-list-data-price">
															<strong class="shop-goods-price">
																￥{$cart_info.price}
															</strong>
															<!--增加预售金额显示 end-->
															<span class="shop-goods-num">
																x{$cart_info.num}
															</span>
														</div>
													</div>
												</div>
											{/foreach}
										</div>
										
									</div>
								</div>
							</div>
						</div>
						<!-- 统计 -->
						<div class="good-info-bottom">
							<ul>
								<li>
									<span>运费:</span>
									<span class="shop-express-money money-style">0元</span>							
								</li>
								<li>
									<span>商品价格:</span>
									<span class="shop-goods-money money-style">{$shop_item.goods_money}元</span>							
								</li>
								<li>
									<span>优惠:</span>
									<span class="shop-discount-money">{$shop_item.discount_money}元</span>							
								</li>
								<li>
									<span>本店合计:</span>
									<span class="money-style"><b class="shop-count-money ">{$shop_item.count_money}元</b></span>						
								</li>
							</ul>
						</div>
					</div>
				</div>
			{/foreach}
		</div>
		
		{if condition="!empty($shop_config.order_invoice_content_list)"}
		<div class="style-zhifu order-invoice">
			<div class="cart-title">
				<h3>
					<span>{:lang('member_invoice_information')}</span>
				</h3>
			</div>
			<div class="zhifu-box">
				<div class="item">
					<div class="label">
						<ul class="zfb" id="is_invoice">
							<li>
								<i class="icon-check-zf" style="display: block;"></i>
								<a href="javascript:void(0);" data-flag="not-need-invoice" class="selected">{:lang('member_no_invoice_required')}</a>
							</li>
							{if condition="!empty($shop_config.order_invoice_content_list)"}
							<li>
								<i class="icon-check-zf"></i>
								<a href="javascript:void(0);" data-flag="need-invoice">{:lang('member_invoice_required')}</a>
							</li>
							{/if}
						</ul>
					</div>
				</div>
				
				<div id="invoiceinfo" style="display: none;">
				
					<div class="item">
						<span class="label fl" style="line-height: 32px;">{:lang('member_invoice_header')}：</span>
						<div class="fl">
							<ul class="zfb" id="invoice_tite_list" style="margin: 0 10px 0 0;">
								<li>
<!-- 									<i class="icon-check-zf" style="display: block"></i> class="selected"-->
									<a href="javascript:void(0);">
										<input type="text" placeholder="{:lang('member_personal_or_company_invoice')}" maxlength="50" id="invoice-title" />
									</a>
								</li>
							</ul>
						</div>
						<span style="line-height: 32px;color:#FF9800;font-weight:bold;">({:lang('member_collect')}{$shop_config.order_invoice_tax}%{:lang('member_invoice_tax_rate')})</span>
					</div>
					
					<div class="item">
						<span class="label fl" style="line-height: 32px;width:85px;text-align: right;">{:lang('member_taxpayer_identification_number')}：</span>
						<div class="fl">
							<ul class="zfb" style="margin: 0 10px 0 0;">
								<li>
									<a href="javascript:void(0);">
										<input type="text" placeholder="{:lang('member_taxpayer_identification_number')}" maxlength="50" id="taxpayer-identification-number" />
									</a>
								</li>
							</ul>
						</div>
					</div>
					
					<div class="item">
						<span class="label fl" style="line-height: 32px;">{:lang('member_invoice_content')}：</span>
						<div class="fl">
							<ul class="zfb" id="invoice_con">
								{foreach name="$shop_config.order_invoice_content_list" item="invoice" key="k"}
								<li>
									<i class="icon-check-zf"></i>
									<a href="javascript:void(0);" title="{$invoice}">{$invoice}</a>
								</li>
								{/foreach}
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
		{/if}
		
		<div class="fare-result">
			<div class="cart-title">
				<h3>
					<span>{:lang('member_settlement_information')}</span>
				</h3>
			</div>
			<div class="result-box">
				{if condition="$shop_config['order_balance_pay']"}
				<div class="yue">
					<span><input type="checkbox" id="userbalance" disabled="disabled" style="display:none;">&nbsp;{:lang('member_use_balance')}</span>
					<input type="text" maxlength="9" placeholder="0.00" data-max="{$member_account.balance}" id="account_balance" style="display:inline-block;" />
					<span class="yeuse">（{:lang('member_my_balance')}：<b class="orange-bold">{$member_account.balance}</b>{:lang('element')}）</span>。<br> <br>
	<!-- 				<p> -->
	<!-- 					<span><input type="checkbox" id="userpoint" disabled="disabled">&nbsp;使用积分</span> -->
	<!-- 					<input type="text" maxlength="9" id="point"> -->
	<!-- 					<span class="yeuse">（我的积分：<b class="orange-bold">{$member_account.point}</b>个）</span> -->
	<!-- 				</p> -->
	<!-- 				<span id="setpaypwd" style="display:none;">为保障您的余额安全，请先<a href="javascript:void(0);" class="vivi-blue js-sett-pay-pwd">设置支付密码</a></span> -->
				</div>
				{/if}
				<ul>
					<li style="float:left;clear:none;">
						
					</li>
					<li class="first" style="float:right;clear:none;">
						<div class="calu-box">
							<p class="slivergrey">
								<span>{:lang('goods_total')}<b class="orange-bold js-goods-num">{$shop_order_list['count_info']['count_goods_num']}</b>{:lang('member_kinds_of_goods')} {:lang('member_total')}：</span>
								<span class="txtmoney">￥<b class="js-total-money">{$shop_order_list['count_info']['count_goods_money']}</b></span>
							</p>
							<p class="slivergrey">
								<span>{:lang('goods_freight')}：</span>
								<span class="txtmoney">￥<b id="express">0.00</b></span>
							</p>
							
							<p class="slivergrey">
								<span>{:lang('member_total_discount')}：</span>
								<span class="txtmoney">￥<b id="discount_money">0.00</b></span>
							</p>
							
							{if condition="!empty($shop_config.order_invoice_content_list)"}
							<p class="slivergrey">
								<span>{:lang('member_invoice_tax')}：</span>
								<span class="txtmoney">￥<b id="invoice_tax_money">0.00</b></span>
							</p>
							{/if}
							{if condition="$shop_config['order_balance_pay']"}
							<p class="slivergrey">
								<span>{:lang('member_use_balance')}：</span>
								<span class="txtmoney">￥<b id="use_balance">0.00</b></span>
							</p>
							{/if}
						</div>
					</li>
					<li style="border: 1px solid #e4e4e4;">
<!-- 						<div class="lside"> -->
<!-- 							<p class="save-passw"> -->
<!-- 								<span class="slivergrey">输入支付密码：</span> -->
<!-- 								<input type="password" id="cbkpaypwd"> -->
<!-- 							</p> -->
<!-- 						</div> -->
						<div class="rside">
							<div class="lside">
								<p>
									<span class="slivergrey">{:lang('member_amount_payable')}：</span>
									<span class="orange-bold big">￥<b id="realprice">0.00</b>
									</span>
								</p>
								<p class="vivi-blue">{:lang('member_pay_soon')}！</p>
							</div>
							<a href="javascript:void(0);" class="btn-jiesuan">{:lang('member_place_order')}</a>
							<input type="hidden" id="hidden_count_money" value="{$shop_order_list.count_info.count_goods_money}" /><!-- 总商品价格 -->
							<input type="hidden" id="hidden_count_goods_num" value="{$shop_order_list.count_info.count_goods_num}" /><!-- 总商品类数 -->
							<input type="hidden" id="goods_sku_list" value="{$goods_sku_list}" /><!-- 商品sku_list -->
							<input type="hidden" id="hidden_order_invoice_tax" value="{$shop_config.order_invoice_tax}"/><!-- 发票 -->
							<input type="hidden" id="hidden_order_tag" value="{$order_tag}"/><!-- tag -->
							<input type="hidden" id="hidden_is_logistice" value="{$shop_config.is_logistics}" /><!-- 是否允许选择物流 -->
						</div>
					</li>
				</ul>
			</div>
		</div>
	</div>
</div>
</form>

<div id="mask" style="display: none;"></div>
<div class="pop-main pop-compare" style="display: none;">
	<div class="pop-header">
		<span>{:lang('member_reminder')}</span>
		<a class="pop-close" href="javascript:;" title="{:lang('goods_close')}"></a>
	</div>
	<div class="pop-con">
		<i class="pop-icon"></i>
		<p class="pop-text">{:lang('member_sure_delete')}？</p>
		<a href="javascript:;" class="pop-sure main-bg-color">{:lang('goods_determine')}</a><a href="javascript:;" class="cancel-btn">{:lang('goods_cancel')}</a>
	</div>
</div>

<div class="edit-address modbox" style="display: none;margin-left:-400px;">
	<div class="edit-box">
		<h3>{:lang('member_new_delivery_address_information')}<i class="close-modbox"></i></h3>
		<div class="edit-form">
			<ul>
				<li>
					<label><i>*</i>{:lang('member_consignee')}：</label>
					<input type="text" id="consigner" maxlength="20" class="s-length">
				</li>
				<li>
					<label><i>*</i>{:lang('member_phone_number')}：</label>
					<input type="text" id="mobile" maxlength="11" class="s-length">
				</li>
				<li>
					<label>{:lang('member_fixed_telephone')}：</label>
					<input type="text" id="phone" maxlength="20" class="s-length">
				</li>
				<li style="min-height: 25px;">
					<label style="float: left;line-height: 26px;margin-right:5px;"><i>*</i>{:lang('member_location')}：</label>
					<div class="deliver" style="float: left;">
						<div id="store-selector">
							{include file='shop/default/controlSelectAddress'/}
						</div>
					</div>
				</li>
				<li style="clear: both;">
					<label><i>*</i>{:lang('member_detailed_address')}：</label>
					<input type="text" id="detailed_address" maxlength="30" class="l-length">
				</li>
				<li style="clear: both;">
					<label>{:lang('member_zip_code')}：</label>
					<input type="text" id="zipcode" maxlength="6" onkeyup="this.value=this.value.replace(/\D/g,'')" class="l-length">
				</li>
			</ul>
			<input type="hidden" id="address_id" value="0">
			<button class="btn-save" id="save_shipping_address">{:lang('member_preservation')}</button>
		</div>
	</div>
</div>

<!-- <div id="edit-paypwd" class="modbox" style="display: none;margin-left:-305px;"> -->
<!-- 	<h3> -->
<!-- 		设置支付密码<i class="close-modbox"></i> -->
<!-- 	</h3> -->
<!-- 	<div> -->
<!-- 		<p> -->
<!-- 			<label>手机：</label> -->
<!-- 			<input type="text" id="mobile" readonly="readonly" style="width: 93px; border: none;"> -->
<!-- 			<input type="button" value="发送验证码" id="sendcode" data-mobileid="mobile" class="btn" onclick="sendSms(this, 'sms_setpaypwd');"> -->
<!-- 		</p> -->
<!-- 		<p> -->
<!-- 			<label>手机验证码：</label> -->
<!-- 			<input type="text" id="authcode" maxlength="8" class="input" onkeyup="onlyNum(this);"> -->
<!-- 		</p> -->
<!-- 		<p> -->
<!-- 			<label>设置支付密码：</label> -->
<!-- 			<input type="password" id="paypwd" maxlength="16" class="input"> -->
<!-- 			<span class="tip">限数字和字母，6到16个字符</span> -->
<!-- 		</p> -->
<!-- 		<p> -->
<!-- 			<label>再输支付密码：</label> -->
<!-- 			<input type="password" id="repaypwd" maxlength="16" class="input"> -->
<!-- 		</p> -->
<!-- 		<a href="javascript:void(0);" onclick="editPaypwd();" class="btn" style="margin-left: 94px; margin-top: 20px">提交</a> -->
<!-- 	</div> -->
<!-- </div> -->
{/block}
{block name="javascript"}
<script src="__TEMP__/{$style}/public/js/payment_orders/shipping_address.js"></script>
<script src="__TEMP__/{$style}/public/js/payment_orders/payment_orders_b2b2c.js"></script>
{/block}